import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:flutter_graphics_view/src/policy/base_policy_set.dart';

mixin GraphicsItemPolicy on BasePolicySet {
  onGraphicsItemTap(String componentId) {}

  onGraphicsItemTapDown(String itemId, TapDownDetails details) {}

  onGraphicsItemTapUp(String itemId, TapUpDetails details) {}

  onGraphicsItemTapCancel(String itemId) {}

  onGraphicsItemScaleStart(String itemId, ScaleStartDetails details) {}

  onGraphicsItemScaleUpdate(String itemId, ScaleUpdateDetails details) {}

  onGraphicsItemScaleEnd(String itemId, ScaleEndDetails details) {}

  onGraphicsItemLongPress(String itemId) {}

  onGraphicsItemLongPressStart(
      String itemId, LongPressStartDetails details) {}

  onGraphicsItemLongPressMoveUpdate(
      String itemId, LongPressMoveUpdateDetails details) {}

  onGraphicsItemLongPressEnd(String itemId, LongPressEndDetails details) {}

  onGraphicsItemLongPressUp(String itemId) {}

  onGraphicsItemPointerSignal(String itemId, PointerSignalEvent event) {}
}
